<template>
  <div class="service component">
    <group-title><span class="lbl">.</span>房屋租赁</group-title>
    <grid :cols="4">
      <grid-item class="c01" :label="'人才安居'">
        <img slot="icon" src="../../images/icon_home.png">
      </grid-item>
    </grid>
    <group-title><span class="lbl">.</span>公共服务</group-title>
    <grid>
      <grid-item :label="'居住证'">
        <img slot="icon" src="../../images/icon_home.png">
      </grid-item>
      <grid-item :label="'公积金'">
        <img slot="icon" src="../../images/icon_home.png">
      </grid-item>
      <grid-item :label="'住房补贴'">
        <img slot="icon" src="../../images/icon_home.png">
      </grid-item>
      <grid-item :label="'保险'">
        <img slot="icon" src="../../images/icon_home.png">
      </grid-item>
    </grid>
  </div>
</template>

<script>
import { GroupTitle } from 'vux'

export default {
  components: {
    GroupTitle
  },
  methods: {
    onItemClick () {
    },
    go (a, b, c) {
    }
  }
}
</script>

<style scoped>
.service {
  padding: 10px;
}
.weui-grid__label {
  color: #999;
}
.weui-grids::before, .weui-grids::after, .weui-grid::before, .weui-grid::after {
  border: 0;
}
.lbl {
  display: inline-block;
  width: 5px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #0068d9 0%, #439dd6 100%);
  margin-right: 10px;
  height: 22px;
  position: relative;
  top: 2px;
}
.weui-cells__title {
  color: #0A7EDD;
  font-size: 18px;
  margin: 0;
  padding: 0;
  margin-top: 0;
}
.weui-grids {
  margin-bottom: 20px;
}
.weui-grid {
  padding: 5px 10px;
}
</style>
